<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>

<%
String _src = request.getParameter("_src");
String _image = request.getParameter("_image");
//if(_src!=null && ((_src.lastIndexOf(".wmv")>=0) || (_src.lastIndexOf("mms://")>=0) ))
//	out.write("<meta http-equiv=\"refresh\" content=\"0; URL=content_testview_wmv.jsp?&_src="+_src+"\"");
%>

<script type="text/javascript">
	function resize_window()
	{
		resizeTo(380, 470);
	}
	onLoad = resize_window();
</script>

</head>
<body>

<center>
	<!-- START OF THE PLAYER EMBEDDING TO COPY-PASTE -->
		<EMBED 
			width=320 height=260 
			type=application/x-silverlight-2 
			data="data:application/x-silverlight," 
			source="http://channel9.msdn.com/App_Themes/default/VideoPlayer2009_01_29.xap" 
			initParams="m=<%=_src %>,autostart=true,autohide=true,showembed=false, thumbnail=<%=_image %>, &#13;&#10;postid=455689" 
			enableHtmlAccess="true" 
			onerror="onSilverlightError" 
			background="#ffFFFFFF" 
			autoUpgrade="true" 
			minRuntimeVersion="2.0.31005.0" />
	<!-- END OF THE PLAYER EMBEDDING -->
	
	<P>This Player uses Silverlight to watch.</P>
	<P>Try Windows Media Player, too: <a href='content_testview_wmv.jsp?&_src=<%=_src %>'>link</a></P>
</center>

</body>
</html>